package ch0624.case03;

public class Test01 {
    public static void main(String[] args) {
        Bank bank=new Bank();
        bank.setMoney(300);
        Thread thread01,thread02;
        thread01=new Thread(bank);
        thread01.setName("one");
        thread02=new Thread(bank);
        thread02.setName("two");
        thread01.start();
        thread02.start();
    }
}
